package com.huawei.appmarket.service.permissions;

import o.cjo;
import o.cjo.b;

public class PermissionsProtocol implements cjo {
    private Request request;

    public static class Request implements b {
        private boolean optional = false;
        private String[] permissionStrings;
        private int requestCode;
        private int tipResId = 0;

        public Request(int i, int i2, String... strArr) {
            this.requestCode = i;
            this.permissionStrings = strArr;
            this.tipResId = i2;
        }

        public boolean ˊ() {
            return this.optional;
        }

        public void ˋ(boolean z) {
            this.optional = z;
        }

        public int ˎ() {
            return this.requestCode;
        }

        public String[] ॱ() {
            return this.permissionStrings;
        }

        public int ˏ() {
            return this.tipResId;
        }
    }

    public Request ˊ() {
        return this.request;
    }

    public void ˊ(Request request) {
        this.request = request;
    }
}
